package net.roseparadise.model;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * PhotoDescription entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tphotodescription"
    ,catalog="studio"
)

public class PhotoDescription  implements java.io.Serializable {


    // Fields    

     private Integer photoid;
     private String description;


    // Constructors

    /** default constructor */
    public PhotoDescription() {
    }

    
    /** full constructor */
    public PhotoDescription(String description) {
        this.description = description;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="PHOTOID", unique=true, nullable=false)

    public Integer getPhotoid() {
        return this.photoid;
    }
    
    public void setPhotoid(Integer photoid) {
        this.photoid = photoid;
    }
    
    @Column(name="DESCRIPTION", length=65535)

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
   








}